package com.tem.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wages")
@ApiModel(value="Wages对象", description="")
public class Wages implements Serializable {

    private static final long serialVersionUID=11233489089L;

    @ApiModelProperty(value = "薪资表")
    @TableId(value = "wages_id", type = IdType.AUTO)
    private Long wagesId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "年")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "总金额")
    @TableField("total")
    private BigDecimal total;

    @ApiModelProperty(value = "处罚金额")
    @TableField("penalty")
    private BigDecimal penalty;

    @ApiModelProperty(value = "奖励金额")
    @TableField("reward")
    private BigDecimal reward;

    @ApiModelProperty(value = "描述JSON")
    @TableField("describe")
    private String describe;

    @ApiModelProperty(value = "0待提交 1待审核 3已生效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "1待支付 3已支付")
    @TableField("pay_status")
    private Integer payStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_id")
    private Long createId;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
